#include <iostream>
#include <list>
#include <vector>

using namespace std;

template<class T,class ET>
T find(T b,T e,ET ele ){
    for(T it = b ; it != e ; ++it){
        if(*it == ele) return it;
    }
    return e;
}
int main(int argc, char const *argv[])
{
    vector<int> vec;
    for(int i = 0 ; i < 10 ; i++)
        vec.push_back(i);
    int x;

    cin >> x;
    auto it = find(vec.begin() , vec.end() , x);

    if(it == vec.end()){
        cout << "Not found" << endl;
    }else{
        cout << "Find !" <<endl;
    }
    list<string> name;

    int T = 3;
    while(T--){
        string tmp;

        cin >> tmp;
        name.push_back(tmp);
    }
    string p;

    cin >> p;
    if(find(name.begin() , name.end() , p) == name.end()){
        cout << "Not Found!" << endl;
    }else{
        cout << "Find it ! " <<endl;
    }
    return 0;
}
